

def from_color_value_to_r_g_b(value: str):
    hex_str = value.lstrip('#')
    r = int(hex_str[:2], base=16)
    g = int(hex_str[2:4], base=16)
    b = int(hex_str[4:6], base=16)
    return r, g, b